@import '~@alife/aisc-core/purple/scss/index.scss';
/**
 * 页面级样式文件
 */

@import '~@alife/aone-core/variables/index.scss';

.service-loading {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-form {
  margin-top: 8px;
  .service-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .setting-card-subtitle-title {
      margin-bottom: 0;
    }
    .setting-card-subtitle-desc {
      color: $gray-06;
      font-size: 12px;
      line-height: 20px;
      margin-top: 4px;
    }
  }
  .submit-btn {
    min-width: 60px;
  }
  .next-message-title {
    width: 100%;
  }
  // TODO 覆盖Card样式，以符合视觉稿，待与AT讨论
  .setting-card {
    &-help-icon {
      cursor: pointer;
    }

    &-subtitle {
      &-title {
        line-height: 20px;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
      }
      .service-item-title-left {
        padding-right: 12px;
      }
    }
    &-action {
      border-top: 1px solid $gray-03;
      margin-top: 20px;
      &-checklist {
        margin-top: 12px;
        &-checktitle {
          line-height: 20px;
          font-size: 14px;
          white-space: normal;
          margin-top: 20px;
          font-weight: 500;
        }
      }
      &-whitelist {
        margin-top: 24px;
        &-header {
          margin-top: 20px;
          line-height: 20px;
          font-size: 14px;
          font-weight: 500;
          white-space: normal;
        }
        &-subtitle {
          margin-top: 4px;
          line-height: 20px;
          font-size: 12px;
          color: $gray-06;
          font-weight: normal;
          white-space: normal;
        }
        &-text {
          width: 100%;
          line-height: 20px;
          font-size: 12px;
          textarea {
            min-height: 90px;
          }
        }
        &-tips-card {
          margin-top: 8px;
        }
        &-tips {
          line-height: 18px;
          font-size: 12px;
          color: $gray-06;
          font-weight: normal;
          white-space: normal;
        }
        &-message {
          line-height: 20px;
          font-size: 14px;
          font-weight: normal;
          white-space: normal;
          color: #f00;
        }
      }
      &-rule {
        margin-top: 24px;
        &-header {
          line-height: 20px;
          font-size: 14px;
          font-weight: 500;
          white-space: normal;
        }
        &-subtitle {
          margin-top: 12px;
          line-height: 20px;
          font-size: 14px;
          font-weight: normal;
          white-space: normal;
          display: flex;
          align-items: center;
        }
      }
      &-row {
        margin-top: 8px;
      }
    }
  }

  // 编辑器行背景色
  .editor-container .margin-view-overlays {
    background: transparent;
  }
}

.dependency-analysis {
  margin-top: 24px;
  &-params {
    line-height: 20px;
    font-size: 14px;
    font-weight: normal;
    white-space: normal;
    &-title {
      font-weight: 500;
    }
    &-tip {
      margin-top: 12px;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
    }
  }
  &-script {
    line-height: 20px;
    font-size: 14px;
    font-weight: normal;
    white-space: normal;
  }
}
.service-item-switch-box {
  display: flex;
  align-items: center;
}
.setting-card-help-icon {
  color: $gray-06;
}
